#ifndef MSB2023_OSCILLOSCOPE_GUI_H
#define MSB2023_OSCILLOSCOPE_GUI_H

#include "stdint.h"
#include "key.h"
#include "oscilloscope.h"

void gui_test_input(int16_t encoder_cnt, uint8_t encoder_dir, KeyInfo key_info);
void
gui_main_interface(uint16_t *points, uint16_t num, uint8_t run_state, uint8_t trig_mode, uint16_t ver, uint16_t hor,
                   uint16_t trig_level, uint16_t trig_level_mV, SelectOption option);
void gui_measure(uint16_t *points, uint16_t num, uint32_t period, uint32_t frequency, uint32_t V_max, uint32_t V_min,
                 uint32_t V_pp, double V_rms);
void gui_startup();

#endif //MSB2023_OSCILLOSCOPE_GUI_H
